//
//  ShellGrabOrderViewModel.h
//  ShellWallert
//
//  Created by lvzhao on 2019/10/1.
//  Copyright © 2019 VV. All rights reserved.
//

#import "LZBaseViewModel.h"
#import "ShellOrderModel.h"
#import "OYCountDownManager.h"
#import "ShellSettlDataModel.h"
#import "ShellReadAccountModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface ShellGrabOrderViewModel : LZBaseViewModel


//全网数据
@property (nonatomic,strong) ShellSettlDataModel *dataModel;
//用户状态
@property (nonatomic,assign) BOOL userStatus;

@property (nonatomic,strong) ShellReadAccountModel *accountModel;



/**
Convert 获取全网数据
*/
- (void)getSettlData;

/**
Convert 获取用户状态
*/
- (void)getStatus;

/**
 Convert 请求我的账户信用, 算力
 */
- (void)getReadAccount;

/**
Convert 修改用户状态
@param  status  on:接单 off：停止接单
*/
- (void)updateStatus:(NSString *)status;

/**
 Convert 获取订单
 @param  isFirst 是否是第一次
 */
- (void)getOrder:(BOOL)isFirst;
@end

NS_ASSUME_NONNULL_END
